package ly.gupao.edu.threaddemo.syn.objectClass;

public class ThreadA extends Thread{

    private SynchronizedTest synchronizedTest;

    ThreadA(SynchronizedTest synchronizedTest){
        this.synchronizedTest = synchronizedTest;
    }

    @Override
    public void run() {
        synchronizedTest.threadMethodC();
//        SynchronizedTest.threadMethodA();
    }
}
